package com._520it.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

//客户开发
@Getter
@Setter
public class ClientExploitation {
    /**
     * 开发类型:开发客户
     */
    public static final Integer ZERO = 0;
    /**
     * 开发类型:潜在客户开发
     */
    public static final Integer ONE = 1;
    private Long id;
    private Integer developtype;//开发类型
    private String plantime;//计划实施时间
    private String plantheme;//计划主题
    private String plancontent;//计划内容
    private String remark;//备注
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GTM+8")
    private Date createtime;//创建时间
    private Boolean status;//是否实施
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GTM+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date executetime;//实施时间
    private String executeresult;//实施效果

    private Employee create;//创建人
    private Client client;//潜在客户
}